package com.boatAnchorAssistant.pojo.vo.authorization;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.List;

/**
 * @author Joseph.Li
 * @author joseph.li@king-v.com
 * Created in 2022-07-04 16:30
 *
 * 目标授权
 */
@Data
public class AuthorizedVo {

    /**
     * 资源id
     */
    private Long id;

    /**
     * 资源名称
     */
    private String resourceName;

    /**
     * 是否选中
     */
    private Boolean checked;


    @JsonIgnore
    private Long parentId;

    /**
     * 子代
     */
    private List<AuthorizedVo> child;

}
